package cn.stylefeng.guns.modular.tool.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.tool.entity.ToolTaskMoney;
import cn.stylefeng.guns.modular.tool.model.params.ToolTaskMoneyParam;
import cn.stylefeng.guns.modular.tool.model.result.ToolTaskMoneyResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 计件明细 服务类
 */
public interface ToolTaskMoneyService extends IService<ToolTaskMoney> {

    /**
     * 新增
     *
     * @author 
     * @Date 2022-04-07
     */
    void add(ToolTaskMoneyParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2022-04-07
     */
    void delete(ToolTaskMoneyParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2022-04-07
     */
    void update(ToolTaskMoneyParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2022-04-07
     */
    ToolTaskMoneyResult findBySpec(ToolTaskMoneyParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2022-04-07
     */
    List<ToolTaskMoneyResult> findListBySpec(ToolTaskMoneyParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2022-04-07
     */
     LayuiPageInfo findPageBySpec(ToolTaskMoneyParam param,String condition,Long operateId);
     
     LayuiPageInfo findPageBySpecsum(ToolTaskMoneyParam param,String condition,Long operateId);
     
     LayuiPageInfo findPageBySpecsum3(ToolTaskMoneyParam param,String condition,Long operateId);

	void deleteBySpec(ToolTaskMoneyParam moneyParam);

	boolean saveBatchList(List<ToolTaskMoneyParam> listsave);

	void updateBySpec(ToolTaskMoneyParam param);

}
